package orm;

import java.util.HashSet;
import java.util.Set;

/**
 * AbstractKnowledge entity provides the base persistence definition of the
 * Knowledge entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractKnowledge implements java.io.Serializable {

	// Fields

	private long kid;
	private Course course;
	private String kname;
	private Set questions = new HashSet(0);
	private Set tempknows = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractKnowledge() {
	}

	/** minimal constructor */
	public AbstractKnowledge(String kname) {
		this.kname = kname;
	}

	/** full constructor */
	public AbstractKnowledge(Course course, String kname, Set questions,
			Set tempknows) {
		this.course = course;
		this.kname = kname;
		this.questions = questions;
		this.tempknows = tempknows;
	}

	// Property accessors

	public long getKid() {
		return this.kid;
	}

	public void setKid(long kid) {
		this.kid = kid;
	}

	public Course getCourse() {
		return this.course;
	}

	public void setCourse(Course course) {
		this.course = course;
	}

	public String getKname() {
		return this.kname;
	}

	public void setKname(String kname) {
		this.kname = kname;
	}

	public Set getQuestions() {
		return this.questions;
	}

	public void setQuestions(Set questions) {
		this.questions = questions;
	}

	public Set getTempknows() {
		return this.tempknows;
	}

	public void setTempknows(Set tempknows) {
		this.tempknows = tempknows;
	}

}